<!doctype html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="multipart/form-data; charset=utf-8" />

<meta name="viewport"
	content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>管理员页面</title>
<link rel="stylesheet" href="layui/css/layui.css">
<!--地址为在线引用地址，请替换自己项目中layui路径-->
<script src="layui/layui.js"></script>
<!--地址为在线引用地址，请替换自己项目中layui路径-->
<script src="js/jquery-3.4.0.min.js"></script>
<script src="js/user.js"></script>
<script src="js/course.js"></script>
<script src="js/courseware.js"></script>
<script src="js/batch.js"></script>
<script src="js/batch_courseware.js"></script>
<script src="js/user_batch.js"></script>
<script src="js/record.js"></script>
<script src="js/score.js"></script>
<style>
.layui-tab-title li {
	display: block;
}

.layui-tab-title {
	float: left;
	width: 200px;
}

.layui-tab-content {
	float: left;
	width: 1000px;
}
</style>
</head>
<body>

	<fieldset class="layui-elem-field layui-field-title"
		style="margin-top: 50px;">
		<legend>管理员管理页面</legend>
	</fieldset>
	<div id="navbar" class="navbar-collapse collapse in" aria-expanded="true" style="position:absolute;top:75px;right:75px">
            <ul class="nav navbar-nav navbar-right">
                <li>
                    <a href="#">&nbsp;<span class="glyphicon glyphicon-user" aria-hidden="true"></span>&nbsp;&nbsp;管理员&nbsp;&nbsp;:<span th:text = "${session.userId}"></a>
                	<a href="/Logout" style="margin-left:10px;font-size:20px;">退出</a>
                </li>
              

              
            </ul>
        </div>
	<div class="layui-tab layui-tab-brief" lay-filter="docDemoTabBrief">
		<ul class="layui-tab-title">
			<li class="layui-this">首页</li>
			<li >学员审核</li>
			<li>课程管理</li>
			<li>课件管理</li>
			<li>批次管理</li>
			<li>批次课件管理</li>
			<li>学员批次管理</li>
			<li>学员学习记录查看</li>
			<li>批次成绩导入管理</li>

		</ul>
		<div class="layui-tab-content" style="height: 100px;">
			<!-- 首页 -->
	    	<div class="layui-tab-item layui-show">欢迎来到管理员首页</div>
			<!--学员审核-->
			<div class="layui-tab-item">
				<table class="layui-hide" id="user" lay-filter="user"></table>
				<script type="text/html" id="barDemo">
              <a class="layui-btn layui-btn-xs" lay-event="edit">通过</a>
              <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">不通过</a>
            </script>
			</div>
			<!--课程管理-->
			<div class="layui-tab-item">
				<div class="layui-form-item">
					<div class="layui-inline">
						<div>
							<button class="layui-btn layuiadmin-btn-admin" id="add">添加</button>
						</div>
					</div>
					<table class="layui-hide" id="course" lay-filter="course"></table>

					<script type="text/html" id="barDemo1">
                            <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="del">删除</a>
                            <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="edit">更改</a>
                        </script>
				</div>
			</div>
			<!--课件管理-->
			<div class="layui-tab-item">
				<div class="layui-inline">
					<div>
						<button class="layui-btn layuiadmin-btn-admin" id="add1">添加</button>
					</div>
				</div>

				<table class="layui-hide" id="courseware" lay-filter="courseware"></table>
				<script type="text/html" id="barDemo2">
              <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="del">删除</a>
              <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="update">更新</a>
            </script>
			</div>
			<!--批次管理-->
			<div class="layui-tab-item">

				<div class="layui-inline">
					<div>
						<button class="layui-btn layuiadmin-btn-admin" id="add2">添加</button>
					</div>
				</div>
				<table class="layui-hide" id="batch" lay-filter="batch"></table>

			<script type="text/html" id="barDemo3">
           	 <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="del">删除</a>
			 <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="edit">修改</a>
         	 </script>
			</div>
			<!--批次课件管理-->
			<div class="layui-tab-item">
				<div>
					<button class="layui-btn layuiadmin-btn-admin" id="add3">添加</button>
				</div>
				<table class="layui-hide" id="btachcourseware"
					lay-filter="btachcourseware"></table>

				<script type="text/html" id="barDemo4">
            <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="del">删除</a>
            <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="update">更新</a>
          </script>
			</div>
			<!--学员批次管理-->
			<div class="layui-tab-item">
				<div>
					<button class="layui-btn layuiadmin-btn-admin" id="add5">添加</button>
				</div>
				<table class="layui-hide" id="userbatch" lay-filter="userbatch"></table>
				<script type="text/html" id="barDemo5">
            		<a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="del">删除</a>
            		<a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="update">更新</a>
          		</script>
         
			</div>
			<!--学习记录查看-->
			<div class="layui-tab-item">
				<table class="layui-hide" id="record" lay-filter="record"></table>
			</div>
			<!-- 成绩导入 -->
			<div class="layui-tab-item">
				<div>
					<button class="layui-btn layuiadmin-btn-admin" id="add4">导入成绩</button>
				</div>
				<table class="layui-hide" id="score" lay-filter="score"></table>


			</div>
		</div>
	</div>

	<!-- <!-- 注意：如果你直接复制所有代码到本地，上述js路径需要改成你本地的 -->
	<script>
		layui.use('element', function() {
			var $ = layui.jquery, element = layui.element; //Tab的切换功能，切换事件监听等，需要依赖element模块
		})
	</script>





</body>
</html>
